myapp.controller('addCon', function($scope,$state,$stateParams) {
	var data = {};
	data.name='name';
	$.ajax({
        type: "POST",
        url: "http://localhost/mu-chun-console/base/add.htmls",
        data: JSON.stringify(data),
        dataType: "json",
        contentType:'application/json;charset=UTF-8',
        success: function(data){
       	 console.log(data);
       }
    });
	
	
})
;